/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package deatax.card;

import deatax.GameData;

/**
 *
 * @author pson
 */
public class CardEffectInstance {
    CardEffect effect;
    String[] args;

    public CardEffectInstance(CardEffect effect, String[] args) {
        this.effect = effect;
        this.args = args;
    }
    
    public void run(GameData data) {
        effect.run(data, args);
    }
}
